home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / dos / diverses / him / lm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-09-10  |  2.0 KB  |  78 lines

  1. #ifndef HIMLMH
  2. #define HIMLMH 1
  3.  
  4. #ifdef AUTODOC
  5.  
  6. Include File: lm.h
  7.  
  8. Description: 
  9.  
  10. Header file for List Manager (lm) module of HIM (tm).
  11.  
  12. #endif
  13. /*
  14.  *
  15.  *   Copyright 1988  Allsoft (tm)
  16.  *   100 Calle Playa Del Sol NE
  17.  *   Albuquerque, NM  87109
  18.  *
  19.  *   ALL RIGHTS RESERVED.
  20.  *
  21.  *   Unauthorized distribution, adaptation or use may be 
  22.  *   subject to civil and criminal penalties.
  23.  *
  24.  */
  25. /********** Filled by Polytron Version Control System **********
  26.  
  27. $Author:   james borders  $
  28.  
  29. $Date:   07 May 1988 16:29:38  $
  30.  
  31. $Revision:   1.0  $
  32.  
  33. $Log:   D:/C/FMLIB/LM/VCS/LM.H  $
  34.    
  35.       Rev 1.0   07 May 1988 16:29:38   james borders
  36.    Initial revision.
  37.  
  38. ****************************************************************/
  39.  
  40. /* Error Constants */
  41.  
  42. #define LMMAERROR       -1      /* memory allocation error */
  43. #define LMBLERROR       -2      /* bad list number */
  44. #define LMBEERROR       -3      /* bad element number */
  45. #define LMNOEL          -4      /* no more elements */
  46.                                                         
  47.  
  48. /* List ordering constants */
  49.  
  50. #define LMORIG           1      /* original order */
  51. #define LMASC            2      /* ascending order */
  52. #define LMDESC           3      /* descending order */
  53.  
  54.  
  55. /* Routine defs */
  56.  
  57. int         lminit(char *(*)(),void (*)(),int);
  58. int         lmcreate(char *,int,int);
  59. int         lmdestroy(int);
  60. char        *lmgheader(int);
  61. int         lmael(int,char *,int,int);
  62. char        *lmgel(int,int);
  63. int         lmsel(int,int,char *,int,int);
  64. int         lmdel(int,int);         
  65. int         lmmarkel(int,int);      
  66. int         lmunmarkel(int,int);    
  67. int         lmelstat(int,int);      
  68. int         lmreorder(int,int,int (*)());     
  69. int         lmfindel(int,char *,int,int,int);  
  70. int         lmgfirstel(int);          
  71. int         lmgnextel(int);           
  72. int         lmglastel(int);
  73. int         lmgprevel(int);
  74. int         lmgnumels(int);           
  75. unsigned int lmchecksum(char *, int);
  76.  
  77. #endif  /* HIMLMH */
  78.